/* Check blaum_roth_coding_bitmatrix() */
#include <stdio.h>
#include "cauchy.h"
#include "jerasure.h"

int main( int argc, char** argv )
{
	int *old_matrix;
	int m = atoi( argv[1] );
	int k = atoi( argv[2] );
	int w = atoi( argv[3] );
	
	old_matrix = cauchy_original_coding_matrix( k, m, w );
	if( old_matrix != NULL )
		jerasure_print_matrix( old_matrix, m, k, w );

	return 0;
}
